package sedev.shopping.util;

import java.io.InputStream;
import java.util.Properties;

public class ConfigUtil {
	
	private static Properties properties;
	static{
		try{
			properties = new Properties();
			InputStream input = ConfigUtil.class.getClassLoader().getResourceAsStream("content/setting.properties");
			properties.load(input);
		}catch (Exception ex){
			System.err.println("Init properties fail " + ex);
		}
	}
	
	public static Properties getProperties() {
		return properties;
	}
}
